package com.label.Model.Do;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "PERSONAS_APP")
@Data
public class PersonsApp {

    @TableId(value = "app_id",type = IdType.ASSIGN_ID)
    private Long id;

    @TableField(value = "app_name")
    private String name;

    @TableField(value = "app_creator")
    private String creator;

    @TableField(value = "APP_CREAT_TIME")
    private String creatTime;

    @TableField(value = "personas_info")
    private String personsInfo;

    @TableField(value = "app_ispush")
    private String ispush;

    @TableField(value = "app_unitid")
    private String unit;

    @TableField(value = "app_roleid")
    private String role;

    @TableField(value = "app_userid")
    private String userid;

    public PersonsApp(){};

    public PersonsApp(String name){this.name=name;};

}
